﻿namespace Colorful.Furniture.BasicDataManagement
{
    /// <summary>
    ///  文件配置
    /// </summary>
    public class FileConfig
    {
        /// <summary>
        ///  文件限制大小
        /// </summary>
        public int SizeLimit { get; set; }

        /// <summary>
        ///  上传表单域名称
        /// </summary>
        public string UploadFieldName { get; set; }

        /// <summary>
        ///  是否上传到web根目录中
        /// </summary>
        public bool IsUploadWebRoot { get; set; }

        /// <summary>
        ///  文件允许的扩展名
        /// </summary>
        public string FileAllowExtensions { get; set; }

        /// <summary>
        ///  文件上传的物理路径
        /// </summary>
        public string PhysicalPath { get; set; }

        /// <summary>
        ///  上传路径地址
        /// </summary>
        public string FileUploadPath { get; set; }

        /// <summary>
        ///  文件上传域名
        /// </summary>
        public string DomainHost { get; set; }

        /// <summary>
        ///  凭证网址
        /// </summary>
        public string DomainVoucher { get; set; }

        /// <summary>
        ///  缓存名称
        /// </summary>
        public string RedisName { get; set; }

        /// <summary>
        ///  回调地址
        /// </summary>
        public string NotifyUrl { get; set; }

        /// <summary>
        ///  抖音AppKey
        /// </summary>
        public string DyAppKey { get; set; }

        /// <summary>
        ///  是否开启抖音店铺售后
        /// </summary>
        public bool DyIsEnabled { get; set; }

        /// <summary>
        ///  抖音AppSecret
        /// </summary>
        public string DyAppSecret { get; set; }

        /// <summary>
        ///  抖音店铺id
        /// </summary>
        public long DyShopId { get; set; }

        /// <summary>
        ///  京东店铺id
        /// </summary>
        public long JdCustomerId { get; set; }

        /// <summary>
        ///  京东店铺key
        /// </summary>
        public string JdCustomerKey { get; set; }

    }
}